package cn.edu.ujn.finallab.dao;

import java.util.List;

public class Room {
    private Integer id;

    private String number;

    private String state;

    private String type;

    private Double price;

    private String decription;
    
    private List<Orders> orderList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getDecription() {
        return decription;
    }

    public void setDecription(String decription) {
        this.decription = decription == null ? null : decription.trim();
    }

	public List<Orders> getOrderLists() {
		return orderList;
	}

	public void setOrderLists(List<Orders> orderLists) {
		this.orderList = orderLists;
	}

	@Override
	public String toString() {
		return "Room [id=" + id + ", number=" + number + ", state=" + state + ", type=" + type + ", price=" + price
				+ ", decription=" + decription + ", orderLists=" + orderList + "]";
	}

	
    
    
}